/*
 * 作者：姚俊
 * 功能：前期修改专利的action
 * 日期：2015-05-28
 */
package admin.action.fruitsMend;

import admin.service.fruits.PatentService;
import teacher.bean.Patent;

public class ReMendPatentAction {
	
	private Patent patent;
	private Patent patent1;
	
	public Patent getPatent() {
		return patent;
	}

	public void setPatent(Patent patent) {
		this.patent = patent;
	}

	public Patent getPatent1() {
		return patent1;
	}

	public void setPatent1(Patent patent1) {
		this.patent1 = patent1;
	}

	public String execute()
	{
		this.setPatent1(new PatentService().getPatent(this.getPatent()));
		return "succ";
	}

}
